package com.huha.calculator;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.layout.Pane;
import javafx.stage.Stage;

public class calculator extends Application {

    @Override
    public void start(Stage primaryStage) throws Exception {
        // 获取fxml
        Pane root = FXMLLoader.load(getClass().getResource("/calculator.fxml"));
        Scene scene = new Scene(root);
        primaryStage.setScene(scene);
        primaryStage.setTitle("HUHA的计算器");
        primaryStage.show();
    }

    public static void main(String[] args) {
        launch();
    }
}
